/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.pbp.dao;

import ac.pbp.core.BaseDao;
import ac.pbp.core.FilterableDao;
import ac.pbp.model.Buku;
import ac.pbp.model.BukuUser;
import java.util.List;

/**
 *
 * @author Kim
 */
public interface BukuDao extends FilterableDao<Buku>, BaseDao<Buku, String> {
    
    public List<Buku> getBukuByGenre(String genre);

    public List<BukuUser> loadUserBuku(String kodeUser);

    public List<Buku> loadBukuPengarang(String kodePengarang);

    public List<Buku> loadNewestBooks();

   
}
